package com.datatest.beans.vo;

import java.io.Serializable;
import java.util.Arrays;

/**
 * Created by lxt on 2020/2/6.
 */
public class SendEmailMessageVO implements Serializable{

    //发送者的邮箱地址
    private String formAddress;
    //接收者的邮箱地址
    private String[] toAddress;
    //设置邮件主题
    private String subject;
    //设置邮件内容
    private String context;
    //设置邮件类型
    private String contextType;
    //设置邮件抄送人员
    private String ccAddress;

    public SendEmailMessageVO() {
    }

    public SendEmailMessageVO(String[] toAddress, String subject, String context) {
        this.toAddress = toAddress;
        this.subject = subject;
        this.context = context;
    }

    public String getCcAddress() {
        return ccAddress;
    }

    public void setCcAddress(String ccAddress) {
        this.ccAddress = ccAddress;
    }

    public String getFormAddress() {
        return formAddress;
    }

    public void setFormAddress(String formAddress) {
        this.formAddress = formAddress;
    }

    public String[] getToAddress() {
        return toAddress;
    }

    public void setToAddress(String[] toAddress) {
        this.toAddress = toAddress;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getContextType() {
        return contextType;
    }

    public void setContextType(String contextType) {
        this.contextType = contextType;
    }

    @Override
    public String toString() {
        return "SendEmailMessageVO{" +
                "formAddress='" + formAddress + '\'' +
                ", toAddress=" + Arrays.toString(toAddress) +
                ", subject='" + subject + '\'' +
                ", context='" + context + '\'' +
                ", contextType='" + contextType + '\'' +
                ", ccAddress='" + ccAddress + '\'' +
                '}';
    }
}
